package com.ruoyi.yyq.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 服务核销记录对象 car_verification_record
 * 
 * @author 尹永青
 * @date 2025-05-12
 */
@Data
public class CarVerificationRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 核销记录ID */
    private Long id;

    /** 店铺ID */
    @Excel(name = "店铺ID")
    private Long mid;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long oid;

    /** 服务项目名称 */
    @Excel(name = "服务项目名称")
    private String name;

    /** 下单用户名称 */
    @Excel(name = "下单用户名称")
    private String username;

    /** 实付金额 */
    @Excel(name = "实付金额")
    private Long price;

    /** 核销时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "核销时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    private String serviceTypeName;

    /** 删除状态（0=未删除 1=已删除） */
    private Long deleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setMid(Long mid) 
    {
        this.mid = mid;
    }

    public Long getMid() 
    {
        return mid;
    }

    public void setOid(Long oid) 
    {
        this.oid = oid;
    }

    public Long getOid() 
    {
        return oid;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }

    public void setPrice(Long price) 
    {
        this.price = price;
    }

    public Long getPrice() 
    {
        return price;
    }

    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }

    public void setDeleted(Long deleted) 
    {
        this.deleted = deleted;
    }

    public Long getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("mid", getMid())
            .append("oid", getOid())
            .append("name", getName())
            .append("username", getUsername())
            .append("price", getPrice())
            .append("time", getTime())
            .append("deleted", getDeleted())
            .toString();
    }
}
